projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ba047
)
Ignore D-Bus errors in tramp-gvfs.el (Bug#40655)
author
Michael Albinus
<michael.albinus@gmx.de>
Thu, 16 Apr 2020 17:51:23 +0000
(19:51 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Thu, 16 Apr 2020 17:51:23 +0000
(19:51 +0200)
* lisp/net/tramp-gvfs.el (with-tramp-dbus-call-method): Ignore D-Bus
errors. (Bug#40655)
lisp/net/tramp-gvfs.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-gvfs.el
b/lisp/net/tramp-gvfs.el
index 526c564ee330bdf2694784dd0c745d3903b8f87a..f19e510eb670e247a2674ff0cd9b8f0c1653d50a 100644
(file)
--- a/
lisp/net/tramp-gvfs.el
+++ b/
lisp/net/tramp-gvfs.el
@@
-912,7
+912,9
@@
or `dbus-call-method-asynchronously'."
#'dbus-call-method #'dbus-call-method-asynchronously))
(args (append (list ,bus ,service ,path ,interface ,method)
(if ,synchronous (list ,@args) (list 'ignore ,@args)))))
- (tramp-dbus-function ,vec func args)))
+ ;; We use `dbus-ignore-errors', because this macro is also called
+ ;; when loading.
+ (dbus-ignore-errors (tramp-dbus-function ,vec func args))))
(font-lock-add-keywords 'emacs-lisp-mode '("\\<with-tramp-dbus-call-method\\>"))